<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>编辑</title>
    <!-- Bootstrap core CSS -->
    <link href="asserts/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="asserts/css/dashboard.css" rel="stylesheet">

    <script type="text/javascript" src="asserts/js/jquery-3.2.1.slim.min.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script src="asserts/js/popper.min.js"></script>
    <script src="asserts/js/feather.min.js"></script>
    <script src="asserts/js/bootstrap.min.js"></script>
    <script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>

    <script type="text/javascript">
        tinymce.init({
            selector: '#textarea',
            plugins: 'print preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template code ' +
                'codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help ' +
                'emoticons autosave bdmap indent2em autoresize formatpainter axupimgs',
            toolbar: 'code undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor\
             | alignleft aligncenter alignright alignjustify outdent indent | \
    styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \
    table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | bdmap indent2em lineheight \
    formatpainter axupimgs',

            height: 650, //编辑器高度
            min_height: 400,
            language:"zh_CN",
            images_upload_url: 'uploadPicture.do',
        });
    </script>
</head>

<body>
<div th:insert="common/bar::top"></div>
<div class="container-fluid">
    <div class="row">
        <div th:insert="common/bar::#left"></div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <h1>编辑公告</h1>


            <form method="post" th:method="post" th:action="@{/uploadPublicize.do}">
                <div class="form-group">
                    <label>主题：</label>
                    <input name="title" type="text" class="form-control" placeholder="主题">
                </div>
                <div class="form-group">
                    <label>内容：</label>
                    <textarea id="textarea" name="text" placeholder="内容"></textarea>
                </div>
                <input type="submit" class="btn btn-lg btn-primary btn-block" value="发布">
            </form>

        </main>


    </div>
</div>

</body>


</html>